package com.akbar.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author akbar
 * @since 2025-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("student_info")
public class StudentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学号
     */
    private String studentNo;

    private String address;

    private String bloodType;

    private String sex;

    /**
     * 出生日期
     */
    private LocalDate birthDate;

    /**
     * 关联sys_user表
     */
    private Integer userId;

    /**
     * 家长用户ID
     */
    private Integer parentId;

    private Integer classId;

    private Integer gradeId;

    /**
     * 入学时间
     */
    private LocalDate enrollmentDate;


}
